package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopMerchantLevel;
import com.woniuxy.common.entity.ShopMerchantLevelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopMerchantLevelMapper {
    long countByExample(ShopMerchantLevelExample example);

    int deleteByExample(ShopMerchantLevelExample example);

    int deleteByPrimaryKey(String merchantLevelId);

    int insert(ShopMerchantLevel record);

    int insertSelective(ShopMerchantLevel record);

    List<ShopMerchantLevel> selectByExample(ShopMerchantLevelExample example);

    ShopMerchantLevel selectByPrimaryKey(String merchantLevelId);

    int updateByExampleSelective(@Param("record") ShopMerchantLevel record, @Param("example") ShopMerchantLevelExample example);

    int updateByExample(@Param("record") ShopMerchantLevel record, @Param("example") ShopMerchantLevelExample example);

    int updateByPrimaryKeySelective(ShopMerchantLevel record);

    int updateByPrimaryKey(ShopMerchantLevel record);
}